package com.hfb.mashibing.alip8.designpattern._03_04factory;

/**
 * 简单工厂的可扩展性不好
 */
public class T01_SimpleFactory {

    public Car CreateCar(){
        // before processing
        return  new Car();
    }
    public Plane CreatePlane(){
        // before processing
        return  new Plane();
    }
    public Broom CreateBroom(){
        // before processing
        return  new Broom();
    }
}
